﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace FRMS.Model
{
    public class DataSyncSavePerson
    {
        public string method { get; set; }
        public savePerson data { get; set; }
        public int req_id { get; set; }
    }

    public class savePerson
    {
        public List<deviceInfos> deviceInfos { get; set; }
        public List<personInfos> personInfos { get; set; }
    }

    public class deviceInfos
    {
        public string deviceID { get; set; }
    }

    public class personInfos
    {
        public string personID { get; set; }
        public int personType { get; set; }
        public string personName { get; set; }
        public int sex { get; set; }
        public string cardNo { get; set; }
        public string personPhoto { get; set; }
        public string frontFloor { get; set; }
        public string backFloor { get; set; }
        public string startTime { get; set; }
        public string endTime { get; set; }
    }

    public class BLReturnMsg
    {
        public string method { get; set; }
        public List<savePersonReturn> data { get; set; }
        public int req_id { get; set; }
        public int code { get; set; }
        public string msg { get; set; }
    }

    public class savePersonReturn
    {
        public string deviceID { get; set; }
        public string personID { get; set; }
        public int errNo { get; set; }
    }
}
